package com.yc.cloud.openai.portal.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.common.basic.dto.BaseQueryParam;
import com.yc.cloud.openai.entity.GptDataset;
import com.yc.cloud.openai.portal.dto.gpt.GptDatasetUpdateParam;
import com.yc.cloud.openai.portal.dto.request.GptDatasetCreateParam;
import com.yc.cloud.openai.portal.dto.request.GptDatasetDeleteParam;
import com.yc.cloud.openai.portal.vo.gpt.GptDatasetVo;

/**
 * <p>
 * AI绘画记录 服务类
 * </p>
 *
 * @author Yancy
 * @since 2025-01-07
 */
public interface GptDatasetService extends IService<GptDataset> {

  /***
   * description:查询列表
   * 
   * @param param 查询条件
   * @return 数据信息
   */
  IPage<GptDatasetVo> list(BaseQueryParam param);

  GptDatasetVo convertVo(GptDataset gptdataset);

  List<GptDatasetVo> convertVo(List<GptDataset> gptdatasetList);

  GptDatasetVo create(GptDatasetCreateParam param);

  GptDatasetVo get(Long id);



  GptDatasetVo update(Long id, GptDatasetUpdateParam param);

  boolean delete(Long id, GptDatasetDeleteParam param);
}
